package com.wenx.common;

import java.util.*;

/**
 * Created by wenx on 2019-12-02 10:43
 */
public class NiuKeTest {
//    public static void main(String[] args) {
//        List<Integer> resultList = new ArrayList();
//        resultList.add(1);
//        int sum = resultList.stream()
//                .mapToInt(Integer::intValue)
//                .sum();
//        StringBuffer stringBuffer = new StringBuffer();
//        stringBuffer.toString();
//    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (sc.hasNext()) {
            System.out.println(sc.nextLine());
            if(sc.nextLine() == null){
                break;
            }
        }
        System.out.println("end");
    }


}